package cn.zhang.reimbursement_1.common;

import cn.zhang.reimbursement_1.config.LoginInterceptor;
import cn.zhang.reimbursement_1.request.LoginRequest;

public class CommonMethod {


     public static boolean checkRole(LoginRequest loginRequest){
        if (loginRequest.getRolename().equals("管理员")){
            return true;
        }else {
            return false;
        }
    }
}
